package com.onpositive.wictionary.access;

import java.io.FileNotFoundException;
import java.io.IOException;

public class Test0 {

	public static void main(String[] args) {
		try {
			VocubularyAccess vocubularyAccess = new VocubularyAccess(
					"C:/work/content/wictionary");
			SemanticVocubalary vv = vocubularyAccess.getVocubalary();
			System.out.println(vv.size());
			System.out.println(vv.canBeUsedAsSubkind("missiles", "vehicles"));
		} catch (FileNotFoundException e) {
			e.printStackTrace();
		} catch (ClassNotFoundException e) {
			e.printStackTrace();
		} catch (IOException e) {
			e.printStackTrace();
		}
	}

	
}
